const mongoose = require("../database/db");

const productsSchema = new mongoose.Schema({
  class:{type:String},//类别
  series:{type:String},//系列
  proID:{type:Number},//商品ID
  proname:{type:String},//商品名称
  price:{type:Number},//价格
  img:{type:String},
  brief1:{type:String},//xq1
  brief2:{type:String}//详细2
})

module.exports = mongoose.model("products", productsSchema);